package com.zhangkunhao.notes.service;

import com.zhangkunhao.notes.dao.PermissionDao;
import com.zhangkunhao.notes.entity.Do.Permission;
import com.zhangkunhao.notes.service.impl.PermissionService;

import java.util.List;

/**
 * 权限列表接口的实现类
 *
 * @author 20642
 */
public class PermissionServiceImpl implements PermissionService {

    @Override
    public List<Permission> selectAll() {
        return PermissionDao.getInstance().findAll();
    }

}
